from django.urls import path, re_path
from mood import views

urlpatterns = [
    path('', views.Mood.as_view(), name='mood'),
    path('list/', views.MoodImageList.as_view(), name='mood_image_list'),
    path('detail/<int:mood_id>/', views.MoodDetail.as_view(), name='mood_detail'),
    path('test/', views.mood_test, name='mood_test'),

    # path('update/', views.mood_update, name='mood_update'),
    # path('upload/', views.upload, name='upload'),
    re_path(r'^like/', views.mood_like, name='mood_like'),
    re_path(r'^del/(?P<mood_id>\d+)/$', views.mood_delete, name='mood_delete'),
]
